﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="ProductColorCreate.aspx.cs" Inherits="WebUI.AdminSite.Product.ProductColorCreate" %>
<%@Register tagPrefix="uc1" tagName="UcUploadImg" src="../../UserControls/UCUploadImg.ascx"  %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="module width_half">
        <span class="labelTitle">Color name</span>
        <asp:TextBox runat="server" CssClass="inputText" ID="txtColorName"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rqfColorName" ValidationGroup="G1" runat="server" ControlToValidate="txtColorName" 
         ErrorMessage="Input value!" ></asp:RequiredFieldValidator>
        <span class="labelTitle">Color code</span>
        <asp:TextBox runat="server" CssClass="inputText" ID="txtColorCode"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rqfColorCode" runat="server" ValidationGroup="G1" ControlToValidate="txtColorCode"
        ErrorMessage="Input value!" ></asp:RequiredFieldValidator>
        <span class="labelTitle">Image</span>
        <uc1:UcUploadImg ID="UCUploadImg1" OnUploadImgHandler="BtnClickUpload"
            runat="server" />
        <asp:TextBox runat="server" Enabled="False" CssClass="inputText" ID="txtImg"></asp:TextBox>
        <asp:Image runat="server" ID="imgColor" Width="15px" Height="15px" AlternateText="Color" />
        <span class="labelTitle">Description</span>
        <asp:RequiredFieldValidator ID="rqfColorImg" runat="server" ControlToValidate="txtImg"
        ErrorMessage="Input value!" ValidationGroup="G1" Display="Dynamic"></asp:RequiredFieldValidator>
        <asp:TextBox runat="server" CssClass="inputText" ID="txtDesc" TextMode="MultiLine"></asp:TextBox>
        <span class="labelTitle">Status</span>
        <asp:DropDownList ID="drpStatus" runat="server" >
                <asp:ListItem Value="NORMAL">NORMAL</asp:ListItem>
                <asp:ListItem Value="STANDBY">STANDBY</asp:ListItem>
                <asp:ListItem Value="DELETED">DELETED</asp:ListItem>
        </asp:DropDownList>
            <div class="btnSaveDelete">
                <asp:LinkButton ID="btnSave" runat="server" ValidationGroup="G1" onclick="btnSave_Click">Create</asp:LinkButton>
                <asp:LinkButton ID="LinkButton1" runat="server" OnClientClick="goBack();">Back</asp:LinkButton>
            </div>
    </div>
</asp:Content>
